
<!--定义系统的logo组件 -->
<template>
    <div class="logo">
        <img :src="logoImg" alt="">
        <span>嗨购商城系统</span>
    </div>
</template>

<script setup lang='ts'>
import logoImg from '@/assets/image/logo.jpeg'


</script>
<style lang="scss" scoped>
.logo {
    display: flex;
    height: 60px;
    align-items: center;

    img {
        width: 30px;
        height: 30px;
        margin: 15px;
        display: block;
    }

    span {
        color: #fff;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        flex: 1;
    }
}
</style>